package com.shop.cloud.domain.hongfu;

import java.time.OffsetDateTime;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shop.cloud.common.mapper.OffsetDateTimeToIso8601Serializer;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * level_privilege-level_privilege
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class LevelPrivilege extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 会员等级。
0: 无等级
1：银牌会员
2：金牌会员
	 */
	@ApiModelProperty(value = "会员等级。0: 无等级1：银牌会员2：金牌会员")
	 private Integer level;
	/**
	 * 返利百分比数
	 */
	@ApiModelProperty(value = "返利百分比数")
	 private Integer rebate;
    
    public LevelPrivilege(){
    
    }
    
    public Integer getLevel() {
        return this.level;
    }
    
    public void setLevel(Integer level) {
        this.level = level;
    }
    public Integer getRebate() {
        return this.rebate;
    }
    
    public void setRebate(Integer rebate) {
        this.rebate = rebate;
    }

}